package com.xiaomi.service;

import com.xiaomi.dto.SignalDTO;
import com.xiaomi.entity.Signal;
import com.xiaomi.vo.SignalVO;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface SignalService {
    void add(SignalDTO signalDTO);

    SignalVO getSignalById(Integer id);

    List<Signal> getUnprocessedSignals();

    void updateSignalStatus(Integer signalId);

    SignalVO getSignalsByCarFrameNumber(Long  carFrameNumber);

    List<Integer> getAllFrameNumbers();

    Signal getLatestSignalByFrameNumber(Integer frameNumber);

    void processExcel(InputStream inputStream) throws IOException;
}
